Skip to content

Получить пост по id

Request

Возвращает один пост по его идентификатору.

Security
bearerAuth or jwtCookie
Path
idinteger, (int64), >= 1required

Идентификатор поста

curl -i -X GET \
  'https://felmee.com/api/blog/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Пост успешно получен

Bodyapplication/json
codeErrorstring or nullrequired

Устаревший camelCase-alias поля error_code; при ошибке оба поля содержат одинаковое значение.

successbooleanrequired

Флаг успешного выполнения запроса

messagestringrequired

Человекочитаемое описание результата

error_codestring or null(ERROR_CODE)required

Код ошибки. Для успешных ответов всегда null.

Enum:"INVALID_BODY""INVALID_DATE""invalid_body""unauthorized""not_found""slot_unavailable""conflict""BUSINESS_INACTIVE""INSUFFICIENT_FUNDS""REQUISITES_REQUIRED"
dataobject or null(PostDetail)required

Полезная нагрузка. Может быть объектом, массивом или null.

Response
{ "success": true, "message": "Post retrieved successfully", "codeError": null, "error_code": null, "data": { "id": 10, "url": "https://felmee.com/blog/10", "text": "Новый образ", "title": "Маникюр", "master_id": 5, "date": "2026-05-05", "created_at": "2026-05-05T10:30:00Z", "is_favorite": true, "images": [ … ], "tag": "Маникюр" } }